689d2f56394e0dc39fa9146eddbc36b92175f4ab,plugins/eclipse/src/org/jetbrains/idea/eclipse/conversion/EclipseUserLibrariesHelper.java,EclipseUserLibrariesHelper,readProjectLibrariesContent,#File#Project#Collection#,91
Before Change
if (rootPath.startsWith("/")) { //relative to workspace root
rootPath = project.getBaseDir().getPath() + rootPath;
}
String url = VfsUtil.pathToUrl(rootPath);
final VirtualFile localFile = VirtualFileManager.getInstance().findFileByUrl(url);
if (localFile != null) {
final VirtualFile jarFile = JarFileSystem.getInstance().getJarRootForLocalFile(localFile);
After Change
rootPath = project.getBaseDir().getPath() + rootPath;
localFile = fileSystem.findFileByPath(rootPath);
}
String url = localFile == null ? VfsUtilCore.pathToUrl(rootPath) : localFile.getUrl();
if (localFile != null) {
VirtualFile jarFile = JarFileSystem.getInstance().getJarRootForLocalFile(localFile);
if (jarFile != null) {